<!DOCTYPE html>
<html lang="zh-cn">
<head>
  <meta charset="utf-8">
  <link href="{{url_for('static', filename='css/bootstrap.min.css')}}" rel="stylesheet">
  <link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">
  <title>车票购买系统</title>
  <style>
    .my-h1 {
        margin-bottom: 1rem!important;
		margin-top: 2rem!important;
        text-align: center;
        width: 100%;
        font-size: 52px;
    }
  </style>
</head>
<body class="bg-light">
    <div class="container">
        <h1 class="my-h1">订票成功！</h1>
        <div class="row justify-content-center">
            <div class="col-md-10">
                <div class="card bg-info">
                    <div class="card-body fs-4">
                        <div class="row mb-3 fs-4">
                            <div class="col-md-2">
                                <p>车次：</p>
                            </div>
                            <div class="col">
                                <pre style="white-space: pre-wrap; font-size: 24px;">{{ ticket_info[0] }}</pre>
                            </div>
                        </div>
                        <div class="row mb-3">
                            <p>日期：{{ ticket_info[1] }}</p>
                        </div>
                        <div class="row mb-3">
                            <p>座位号：{{ ticket_info[3] }}</p>
                        </div>
                        <div class="row mb-3">
                            <p>乘车人：{{ ticket_info[2] }}</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>
</html>